package com.snooker.snooker.dao;

import com.snooker.snooker.dto.EventDto;
import com.snooker.snooker.entity.Event;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @Description:
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 1:48 PM 2018/11/6
 */
public interface EventMapper {

  List<Event> getAllEvent(@Param("season") Integer season);

  List<EventDto> getAllEventDto(@Param("season") Integer season);

  List<Integer> getAllEventId(@Param("season") Integer season);

  EventDto getEventDtoByEventId(@Param("eventId") Integer eventId);

}
